import request from '@http/request'
import { Toast } from 'vant'
// import {  } from './model'

export default {
  getSome() {
    const error = '获取数据失败'

    return request<any>({
      url: '/test.avi',
      method: 'get',
      responseType: 'blob'
    })
      .then((res) => {
        return res.data
      })
      .catch(() => {
        Toast.fail({ message: error, duration: 1000 })
      })
  }
}
